import static java.lang.System.out;

public class Flower {
    int petalCount = 0;
    String s = "inital vlaue";

    Flower(int petals) {
        petalCount = petals;
        out.print(" Constructor w/ int arg only, petalCount = " + petalCount);
    }

    Flower(String ss) {
        out.print(" Constructor w/ String arg only ,s = " + ss);
        s = ss;
    }

    Flower(String s, int petals) {
        this(petals);
        this.s=s;
        out.print(" String & int args");
    }

    Flower() {
        this("hi", 47);
        out.print(" default constructor (no args)");
    }

    void printPetalCount() {
        out.print("petalCount=" + petalCount + " s = " + s);
    }
}
